package pri.ydy.eduorder.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import pri.ydy.commonUtils.ordervo.UcenterMemberOrder;

/**
 * @Description:
 * @Author: 叶栋永
 * @CreateTime: 2021/2/7
 * @Company:
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //根据用户id获得用户信息
    @PostMapping("/educenter/member/getUserInfoOrder/{id}")
    public UcenterMemberOrder getUserInfoOrder(@PathVariable("id") String id);
}
